/*
 * @Description: 意见管理接口模块
 * @version: 电子名片2.0
 * @Author: 尹鑫
 * @Date: 2020-12-02 09:31:16
 * @LastEditors: 尹鑫
 * @LastEditTime: 2020-12-16 10:50:37
 */
import request from '@/utils/request'

// =======================意见反馈=======================

// 意见反馈列表
export function opinionList(query) {
  return request({
    url: '/sys/platform/feedback/all',
    method: 'get',
    params: query
  })
}

// 意见反馈详情
export function opinionDetail(query) {
  return request({
    url: `/sys/platform/feedback/detail/${query.feedbackId}`,
    method: 'get'
  })
}

// 意见反馈回复
export function opinionReply(params) {
  return request({
    url: '/sys/platform/feedback/reply',
    method: 'post',
    data: params
  })
}
